﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

public class ImportDangerModel : ModelBase
{
    /// <summary>
    ///隐患id
    /// </summary>
    [MaxLength(32)]
    public string? qhseXyDangerId { get; set; } = "";
    /// <summary>
    /// 检查类型
    /// </summary>
    [MaxLength(200)]
    public string? CheckType { get; set; } = "";
    /// <summary>
    /// 检查单位
    /// </summary>
    [MaxLength(200)]
    public string? CheckOrganizationId { get; set; } = "";
    /// <summary>
    /// 检查单位
    /// </summary>
    [MaxLength(200)]
    public string? CheckOrganizationName { get; set; } = "";

    /// <summary>
    /// 录入日期
    /// </summary>
    public DateTime? EnterTime { get; set; }

    /// <summary>
    /// 数据来源
    /// </summary>
    [MaxLength(100)]
    public string? EnterSys { get; set; }
    /// <summary>
    /// 检查人员
    /// </summary>
    [MaxLength(32)]
    public string? UserId { get; set; } = "";
    /// <summary>
    /// 检查人员姓名
    /// </summary>
    [MaxLength(255)]
    public string? CheckName { get; set; } = "";
    /// <summary>
    /// 检查日期
    /// </summary>
    public DateTime? CheckDate { get; set; }
    /// <summary>
    /// 被检单位ID
    /// </summary>
    [MaxLength(50)]
    public string? OrganizationId { get; set; } = "";
    /// <summary>
    /// 被检单位名称
    /// </summary>
    [MaxLength(200)]
    public string? OrganizationName { get; set; } = "";
    /// <summary>
    /// 作业项目
    /// </summary>
    [MaxLength(100)]
    public string? WorkItem { get; set; } = "";
    /// <summary>
    /// 作业专业
    /// </summary>
    [MaxLength(100)]
    public string? WorkSpecialty { get; set; } = "";
    /// <summary>
    /// 关键作业类型
    /// </summary>
    [MaxLength(32)]
    public string? WorkType { get; set; }
    /// <summary>
    /// 关键作业内容
    /// </summary>
    [MaxLength(1000)]
    public string? WorkContent { get; set; }
    /// <summary>
    /// 作业风险等级
    /// </summary>
    [MaxLength(32)]
    public string? WorkRisk { get; set; }
    /// <summary>
    /// 位置区域
    /// </summary>
    [MaxLength(255)]
    public string? Location { get; set; } = "";
    /// <summary>
    /// 隐患性质分类
    /// </summary>
    [MaxLength(32)]
    public string? DangerTypeCategory { get; set; } = "";
    /// <summary>
    /// 隐患级别
    /// </summary>
    [MaxLength(32)]
    public string? DangerType { get; set; } = "";
    /// <summary>
    /// 隐患条款
    /// </summary>
    [MaxLength(1000)]
    public string? DangerClause { get; set; } = "";
    /// <summary>
    /// 隐患描述
    /// </summary>
    [MaxLength(1000)]
    public string? Description { get; set; } = "";
    /// <summary>
    /// 隐患类别
    /// </summary>
    [MaxLength(100)]
    public string? DangerCategory { get; set; } = "";
    /// <summary>
    /// 对应要素体系
    /// </summary>
    [MaxLength(100)]
    public string? HseElement { get; set; } = "";
    /// <summary>
    /// 对应安全沟通类型
    /// </summary>
    [MaxLength(100)]
    public string? ObserveComm { get; set; }
    /// <summary>
    /// 原因分析
    /// </summary>
    [MaxLength(32)]
    public string? CauseAnalysis { get; set; } = "";
    /// <summary>
    /// 归属直线部门
    /// </summary>
    [MaxLength(32)]
    public string? DirectDepartment { get; set; } = "";
    /// <summary>
    /// 可能后果
    /// </summary>
    [MaxLength(32)]
    public string? PotentialConsequence { get; set; }
    /// <summary>
    /// 隐患图片
    /// </summary>
    [MaxLength(1000)]
    public string? DangerPic { get; set; }
    /// <summary>
    /// 整改负责人员ID
    /// </summary>
    [MaxLength(32)]
    public string? ReformerUserId { get; set; } = "";
    /// <summary>
    /// 整改人员姓名
    /// </summary>
    [MaxLength(255)]
    public string? ReformerUserName { get; set; } = "";
    /// <summary>
    /// 整改人员姓名
    /// </summary>
    [MaxLength(255)]
    public string? ReformerUserPhone { get; set; } = "";
    /// <summary>
    /// 限期整改时间
    /// </summary>
    public DateTime? ReformerDate { get; set; }
    /// <summary>
    /// 隐患图片
    /// </summary>
    [MaxLength(1000)]
    public string? ReformerPic { get; set; }
    /// <summary>
    /// 隐患状态
    /// </summary>
    [MaxLength(32)]
    public string? Status { get; set; } = "";
    /// <summary>
    /// 验收时间
    /// </summary>
    public DateTime? AcceptanceDate { get; set; }
    /// <summary>
    /// 验收描述
    /// </summary>
    [MaxLength(1000)]
    public string? CheckDescription { get; set; }

    /// <summary>
    /// 隐患类别ID
    /// </summary>
    [MaxLength(255)]
    public string? DangerCateId { get; set; }
    /// <summary>
    /// 检查类型编码
    /// </summary>
    [MaxLength(255)]
    public string? CheckTypeCode { get; set; }
    /// <summary>
    /// 关键作业编码
    /// </summary>
    [MaxLength(255)]
    public string? KeyWorkCode { get; set; }
    /// <summary>
    /// 作业专业编码
    /// </summary>
    [MaxLength(255)]
    public string? WorkSpecialtyCode { get; set; }
    /// <summary>
    /// 隐患级别编码
    /// </summary>
    [MaxLength(255)]
    public string? DangerTypeCode { get; set; }
    /// <summary>
    /// 要素体系编码
    /// </summary>
    [MaxLength(255)]
    public string? HseCode { get; set; }
    /// <summary>
    /// 归属部门编码
    /// </summary>
    [MaxLength(255)]
    public string? DepartmentCode { get; set; }
    /// <summary>
    /// 原因分析编码
    /// </summary>
    [MaxLength(255)]
    public string? ClauseAnalysisCode { get; set; }
    public string? SecondOrganizationId { get; set; } = "";
    public string? ThirdOrganizationId { get; set; } = "";
}
